import xadmin

from .models import *


class T_searchAdmin(object):
    #显示列
    list_display =['id','media_id','type']
    #指定搜索内容
    search_fields = ['id','media_id','type']
    #过滤器
    list_filter = ['id','media_id','type']
    pass

xadmin.site.register(T_search, T_searchAdmin)